<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script>
      // polyfill for Object.fromEntries which used by antd-design-vue
      if (!Object.fromEntries) {
        Object.fromEntries = function fromEntries(iterable) {
          return [...iterable].reduce((obj, [key, val]) => {
            obj[key] = val
            return obj
          }, {})
        }
      }
    </script>
  </head>
  <body>
    <noscript>
      <!--  <%= htmlWebpackPlugin.options.title %> 等变量不能使用，会报错，title -->
      <strong>We're sorry but <%= title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <!-- built files will be auto injected -->
  </body>
</html>
